
<form id="form_add"><input type="hidden" name="id" value="{[$smarty.request.id]}" /> <input type="hidden" name="mold"
	value="{[$mold.id]}"> <input type="hidden" name="piece" value="{[$plan.piece]}"> <input type="hidden" name="technics"
	value="{[$plan.technics]}"> <input type="hidden" name="_upload" id="_upload" value="1" />
<table width="100%">
	<tr>
		<td width="20%" align="right">工件：</td>
		<td width="30%">{[$plan.piece_s]}</td>
		<td width="20%" align="right">负责人：</td>
		<td width="30%">{[$plan.worker_t]}</td>
	</tr>
	<tr>
		<td align="right">工艺：</td>
		<td>{[$plan.technics_s]}</td>
		<td align="right">工作中心：</td>
		<td><select name='work'>
			{[html_options options=$work_option selected=-]}
		</select></td>
	</tr>
	<tr>
		<td align="right">文件名：</td>
		<td colspan="3"><select name='filename' id='filename'>
			{[html_options options=$filename_option selected=safe]}
		</select></td>
	</tr>
	<tr>
		<td align="right">附件：</td>
		<td colspan="3"><input type="file" name="userfile" id="userfile" size="42"></td>
	</tr>
	<tr>
		<td align="right">工作内容：</td>
		<td colspan="3"><textarea rows="3" name="content" cols="55"></textarea></td>
	</tr>
	<tr>
		<td align="right">是否需要质检：</td>
		<td colspan="3"><select name='quality'>
			{[html_options options=$quality_option selected=2]}
		</select></td>
	</tr>
	<tr>
		<td align="right">实际日期：</td>
		<td colspan="3"><input type="text" name="t1" id="t1" value="{[$t1|date_format:'%Y-%m-%d']}" size="12"> 至 <input
			type="text" name="t2" id="t2" value="{[$t2|date_format:'%Y-%m-%d']}" size="12"></td>
	</tr>
	<tr>
		<td align="right">实际工时：</td>
		<td colspan="3"><select name='hour'>
			{[html_options options=$hour_option selected=$result.hour]}
		</select> <select name='minute'>
			{[html_options options=$minute_option selected=$result.minute]}
		</select></td>
	</tr>
</table>
</form>

<script type="text/javascript"
	src="js/mold/produce/add.js?r={[$smarty.now]}"></script>
